package com.zkzx.common.sitemail.command;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author young Email:yanghui@zkraising.com
 * @description
 * @company 北京中科智兴物联科技有限公司 @版权所有
 * @since 2021年05月17日 10时46分
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "AnnouncementCommand", description = "站内信-公告信息入参")
public class AnnouncementCommand implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 公告主题
     */
    @ApiModelProperty(value = "公告主题", example = "双11嗨购")
    private String name;

    /**
     * 公告类型
     */
    @ApiModelProperty(value = "类型：COMPANY=企业 DRIVER=司机", example = "COMPANY")
    private String type;

    /**
     * 公告内容
     */
    @ApiModelProperty(value = "公告内容", example = "双11红包雨不停")
    private String context;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态：ENABLE=发布；DISABLE=下架", example = "ENABLE")
    private String status;
}
